package edu.rit.drh4818.fire.data;

import edu.rit.drh4818.fire.emitter.Emitter;
import edu.rit.drh4818.volume.Colormap;
import edu.rit.drh4818.volume.Volume;

/**
 * Test dataset which shows the full spectrum of a colormap.
 * 
 * @author Darren Headrick
 *
 */
public class BlockData extends Volume
{
	public static String NAME = "Block";
	
	public BlockData() 
	{
		super(256, false, NAME);
	}

	
	public void update(){}
	public void setColormap( Colormap map )
	{
		super.setColormap(map);
		generateTexture();
	}
	public void setEmitter( Emitter emit ){}
    
	/**
	 * Get data point.
	 * @param x X coord
	 * @param y Y coord
	 * @param z Z coord
	 * @return Value at (x,y,z)
	 */
    public short get( int x, int y, int z )
    {
    	return (short)y;
    }
}
